package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xinsoft.common.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * 巡检明细
 * @TableName cus_patrol_detail
 */
@Data
public class CusPatrolDetail extends BaseEntity implements Serializable {

    /**
     * 巡检ID
     */
    private Integer patrolId;

    /**
     * 设备表ID
     */
    private Integer deviceId;

    /**
     * 巡检标准表ID
     */
    private Integer patrolStandardId;

    /**
     * 单条巡检结果1-正常 2-异常
     */
    private Integer detailResult;

    /**
     * 巡检记录
     */
    private String detailDesc;

    /**
     * 重载删除标志方便暂存后物理删除
     */
    @TableField(fill = FieldFill.INSERT,updateStrategy = FieldStrategy.NOT_NULL)
    private Integer doDelete;

    private static final long serialVersionUID = 1L;
}